package com.yzw.controller;

import java.io.Serializable;

/**
 * @author yzw
 * @date 2022/8/24 20:33
 * @desc 模拟redis消息体
 */
public class PostBody implements Serializable {
    /**
     * 业务id
     */
    private String bussinessId;

    /**
     * 源id，这里外部传入
     */
    private String sourceId;

    /**
     * 请求data，json格式，不同业务不同解析
     */
    private String data;

    public String getBussinessId() {
        return bussinessId;
    }

    public void setBussinessId(String bussinessId) {
        this.bussinessId = bussinessId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
